Jonathan Chin's presentation on using Perl modules for generating 3D graphics. Includes sample code and screen shots for rendering molecular structures.
Book by Martien Verbruggen from Manning Publications; includes tips on using Image::Magick among others. Downloadable source code, and chapters 1 and 4.